package cool.webstudy.admin.utils.aspect.permissions;

import cool.webstudy.admin.constant.enums.RoleEnum;

import java.lang.annotation.*;

/**
 * @author 莫振双
 * @date 2025/3/23 1:02
 * @description: 权限校验注解
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface PermissionsCheck {
    RoleEnum role() default RoleEnum.SYSTEM;
}
